<template>
	<view>
		<uni-card :title="schedule.scheduleTitle">
			<u-parse :content="schedule.scheduleContent"></u-parse>
		</uni-card>
	</view>
</template>

<script>
  import { getScheduleMatch } from "@/api/puyu/schedule";
	import uParse from '@/components/u-parse/u-parse.vue'

	export default {
		components: {
			uParse
		},
		data() {
			return {
				// 赛程详情
				schedule: {},
			}
		},
		onLoad(option) {
		  const scheduleId = option.scheduleId;
			getScheduleMatch(scheduleId).then(response => {
				this.schedule = response.data;
			});
		},
		methods: {
		}
	}
</script>

<style lang="scss">
	@import url("@/components/u-parse/u-parse.css");
</style>